package com.ark.cloud.javacallnative.entity.callback;

public class EventAndCmdCallback {

    private Object pObj;
    private int nDataLen;
    private int nCmdType;
    private long llUser;

    public EventAndCmdCallback(){}


    public EventAndCmdCallback(Object pObj, int nDataLen, int nCmdType, long llUser) {
        this.pObj = pObj;
        this.nDataLen = nDataLen;
        this.nCmdType = nCmdType;
        this.llUser = llUser;
    }

    public Object getpObj() {
        return pObj;
    }

    public void setpObj(Object pObj) {
        this.pObj = pObj;
    }

    public int getnDataLen() {
        return nDataLen;
    }

    public void setnDataLen(int nDataLen) {
        this.nDataLen = nDataLen;
    }

    public int getnCmdType() {
        return nCmdType;
    }

    public void setnCmdType(int nCmdType) {
        this.nCmdType = nCmdType;
    }

    public long getLlUser() {
        return llUser;
    }

    public void setLlUser(long llUser) {
        this.llUser = llUser;
    }

    @Override
    public String toString() {
        return "EventAndCmdCallback{" +
                "pObj=" + pObj +
                ", nDataLen=" + nDataLen +
                ", nCmdType=" + nCmdType +
                ", llUser=" + llUser +
                '}';
    }
}
